<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <div v-if="score >= 80">优秀(>=80)</div>
      <div v-else-if="score >= 70">良好(>=70)</div>
      <div v-else-if="score >= 60">及格(>=60)</div>
      <div v-else="score < 60">凉凉(<60)</div>

      <hr />

      <div v-if="score >=80">优秀(>=80)</div>
      <div v-if="score >= 70">良好(>=70)</div>
      <div v-if="score >= 60">及格(>=60)</div>
      <div v-if="score < 60">凉凉(<60)</div>
    </div>

    <script src="../vue.js"></script>
    <script>
      new Vue({
        el: '#app',
        data: {
          score: 80,
        },
      });
    </script>
  </body>
</html>
